﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WeiXin.SDK.Entities
{
    public class TemplateData
    {
        public string touser { get; set; }
        public string template_id { get; set; }
        public string url { get; set; }
        public MiniProgram miniprogram { get; set; }
        public object data { get; set; }

    }
    public class TemplateDataItem
    {
        public TemplateDataItem(string value, string color)
        {
            this.value = value;
            this.color = color;
        }
        public TemplateDataItem(string value)
        {
            this.value = value;
        }
        public string value { get; set; }
        public string color { get; set; }
    }
    public class MiniProgram
    {
        public string appid { get; set; }
        public string pagepath { get; set; }

    }
}
